package com.itheima.mongo.pojo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("ap_comment")
public class ApComment implements Serializable {
    private String id;
    private Integer authorId;
    private String authorName;
    private String content;
    private Date createdTime;
    private Long entryId;
    private Integer flag=0;
    private Integer likes=0;
    private Integer reply=0;
    private Integer type=0;
}
